package com.demo.factory.usefactory_02;

public class ConcreteValidatorA implements Validator{
    @Override
    public void check(Order order) {
        System.out.println("校验产品A的订单: " + order.getType());
        // 这里是针对产品A的校验逻辑
    }
}
